Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 22, 2025

The F# Azure Blob Storage documentation contained several remnants from the v11 SDK that needed to be updated to align with v12 best practices. While the core code was already using v12 APIs, there were several inconsistencies and outdated references that could confuse developers.

Issues Fixed

Code Issues:

  • Fixed inconsistent file upload pattern where code opened a fileStream but then passed localFile (string) to Upload() method
  • Updated v11 API reference from CloudAppendBlob.Exists() to v12 appendBlob.Exists()
  • Fixed DownloadContent().ToString() to DownloadContent().Value.Content.ToString() to match v12 API structure

Documentation Issues:

  • Corrected class reference from "GetBlobsByHierarchy method of the BlobClient" to "BlobContainerClient"
  • Fixed incomplete sentence about accessing BlobItem properties and methods
  • Enhanced security guidance to mention Azure.Identity library alongside connection strings

Documentation Standards:

  • Added ai-usage: ai-assisted frontmatter as required by documentation guidelines

Verification

All F# code samples now compile successfully with the v12 SDK and demonstrate consistent modern API usage patterns. The documentation properly guides developers to use current Azure Storage Blobs v12 features without any confusing v11 references.

Fixes #17736.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • test.blob.core.windows.net
    • Triggering command: /usr/lib/dotnet/dotnet exec /usr/lib/dotnet/sdk/8.0.119/FSharp/fsi.dll test-compile.fsx (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.


Internal previews

📄 File 🔗 Preview link
docs/fsharp/using-fsharp-on-azure/blob-storage.md Get started with Azure Blob Storage using F#

@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. label Sep 22, 2025
@Copilot Copilot AI changed the title [WIP] Examples use v11 API Fix F# Azure Blob Storage documentation v11 to v12 API inconsistencies Sep 22, 2025
@Copilot Copilot AI requested a review from BillWagner September 22, 2025 21:08
Copilot finished work on behalf of BillWagner September 22, 2025 21:08
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready for final review.

@BillWagner BillWagner marked this pull request as ready for review September 23, 2025 13:25
@BillWagner BillWagner requested review from a team as code owners September 23, 2025 13:25
@BillWagner BillWagner requested a review from gewarren September 23, 2025 13:25
@BillWagner BillWagner enabled auto-merge (squash) September 24, 2025 13:49
@BillWagner BillWagner merged commit a59ffda into main Sep 24, 2025
10 checks passed
@BillWagner BillWagner deleted the copilot/fix-17736 branch September 24, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-fsharp/svc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples use v11 API
3 participants